package com.xx.springboot.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xx.springboot.entity.Student;
import com.xx.springboot.mapper.StudentMapper;
import com.xx.springboot.service.IStudentService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by xiaoxiunique on 2018-8-4.
 */
@Service
public class StudentServiceImpl extends ServiceImpl<StudentMapper, Student> implements IStudentService {

    @Override
    public boolean deleteAll() {
        return retBool(baseMapper.deleteAll());
    }

    @Override
    public List<Student> selectListBySql() {

        return baseMapper.selectListBySql();
    }
}
